package com.east.sng.service;

import com.east.sng.entity.param.StuParam;
import com.east.sng.entity.param.StuSearchParam;
import com.east.sng.entity.result.StuCourseFind;
import com.east.sng.entity.result.StuFind;
import com.east.sng.entity.result.StuInfo;
import com.east.sng.entity.result.StuSearchFind;

import java.util.List;

/**
 * @author east
 * @date: 2021/12/31
 * @Description:
 **/
public interface StuService {

    List<StuInfo> findStus(StuSearchParam params);

    List<StuSearchFind> findStuColumns(String stuName);

    StuFind findStu(Integer stuId);

    void addStu(StuParam stu);

    void editStu(StuParam stu);

    boolean removeStu(Integer stuId);
    boolean recoverStu(Integer stuId);

    boolean batchRemoveStus(List<Integer> stuIds);
    boolean batchRecoverStus(List<Integer> stuIds);

    StuCourseFind findStuCourseInfo(Integer stuId);
    List<StuInfo> findStuInfo(List<Integer> stuIds);

}